home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / prg_casm / snpd9611.zip / ANSISYS.TXT < prev    next >
Text File  |  1996-11-24  |  4KB  |  125 lines

  1. .I 0 8
  2. +++Date last modified: 07-Nov-1995
  3.  
  4.  
  5.                         ANSI.SYS's Escape Sequences File.
  6.  
  7.  
  8.  
  9.         WARNING: You must press the ESC key, the [, the number wanted,
  10. .D 1 6
  11. .I 16 1
  12.  
  13. .D 17 1
  14. .I 36 1
  15.  
  16. .D 37 1
  17. .I 38 6
  18.     ----------------------------------------------------------------------
  19.         Pn   :   Numeric Parameter - a Decimal Number that you Specify
  20.                  with ASCII digits.
  21.  
  22.         Ps   :   Selective Parameter - a Decimal Number that you use to
  23.                  select a Subfunction. You may specify More than One Sub-
  24. .D 39 6
  25. .I 49 2
  26.         Pc   :   Column Parameter - a Decimal Number that you Specify
  27.                  with ASCII digits.
  28. .D 50 2
  29. .I 58 1
  30.     ----------------------------------------------------------------------
  31. .D 59 1
  32. .I 60 2
  33.  
  34.         [Pl;Pc F : Horizontal & Vertical Position (HVP).
  35. .D 61 2
  36. .I 68 3
  37.                    This sequence moves the cursor up Pn lines without
  38.                    changing columns. If the cursor is Already on the Top
  39.                    line, then it ignores the CUU sequence.
  40. .D 69 3
  41. .I 73 3
  42.                    This sequence moves the cursor down Pn lines without
  43.                    changing columns. If the cursor is already on the
  44.                    bottom line, then it ignores the CUD sequence.
  45. .D 74 3
  46. .I 78 4
  47.                    The CUF sequence moves the cursor forward Pn columns
  48.                    without changing lines. If the cursor is already in 
  49.                    the far right column, then it ignores the CUF sequence.
  50.  
  51. .D 79 4
  52. .I 83 3
  53.                    This escape sequence moves the cursor back Pn columns
  54.                    without changing lines. If the cursor is already in
  55.                    the far left column, then it ignores the CUB sequence.
  56. .D 84 3
  57. .I 88 2
  58.                    The console driver outputs an RCP sequence when it
  59.                    receives the DSR escape sequence.
  60. .D 89 3
  61. .I 93 2
  62.                    The console driver saves the current cursor position.
  63.                    This position can be restored with the RCP sequence.
  64. .D 94 2
  65. .I 97 3
  66.                    This sequence restores the cursor position to the
  67.                    value it had when the console driver received the
  68.                    SCP sequence.
  69. .D 98 2
  70. .I 101 3
  71.                    The ED sequence erases the screen. The cursor then
  72.                    goes to the home position.
  73.  
  74. .D 102 3
  75. .I 105 2
  76.                    This sequences erases from the cursor to the end of
  77.                    the line (including cursor position).
  78. .D 106 2
  79. .I 111 1
  80.                    functions remain until the next occurrence of an SGR
  81. .D 112 1
  82. .I 115 2
  83.         [=h        The SM escape sequence changes the screen width or
  84.         [=0h       type to one of the following numeric parameters:
  85. .D 116 2
  86. .I 130 1
  87.             16 : 640 x 350 color
  88. .D 131 1
  89. .I 133 2
  90.             19 : 320 x 200 color
  91.             ------------------------------------
  92. .D 134 2
  93. .I 138 2
  94.                    except parameter 7 resets the mode that causes
  95.                    wrapping at the end of each line.
  96. .D 139 2
  97. .I 143 7
  98.                     'string' is either the ASCII code for a single
  99.                     character or a string contained in quotation marks.
  100.                     For example, both 65 and "A" can be used to
  101.                     represent an uppercase. 'code' is one or more
  102.                     of the following values that represent keyboard
  103.                     keys. Semicolons shown in this table must be
  104.                     entered in addition to the required semicolons
  105. .D 144 6
  106. .I 152 1
  107.    -----------------------------------------------------------------------
  108. .D 153 1
  109. .I 154 1
  110.    -----------------------------------------------------------------------
  111. .D 155 1
  112. .I 180 1
  113.             and for the keyboard's alphabetical keys:
  114. .D 181 1
  115. .I 184 3
  116.    ----------------------------------------------------------------------
  117.                    Alone     Shift-   Ctrl-     Alt-
  118.    ----------------------------------------------------------------------
  119. .D 185 3
  120. .I 224 3
  121.           =         61        43      -----     -----
  122.           TAB       9         0;15    -----     -----
  123.           NULL      0;3       -----   -----     -----
  124. .D 225 3
  125.